package data;

import java.util.Comparator;

public class PlayerComparator
        implements Comparator<IPlayerReadOnly>
{
    @Override
    public int compare( IPlayerReadOnly pPlayer1, IPlayerReadOnly pPlayer2 )
    {
        return pPlayer1.getName().compareTo(pPlayer2.getName());
    }

}
